﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020005C3 RID: 1475
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishTutorialScRsp : IMessage<FinishTutorialScRsp>, IMessage, IEquatable<FinishTutorialScRsp>, IDeepCloneable<FinishTutorialScRsp>, IBufferMessage
	{
		// Token: 0x170012E2 RID: 4834
		// (get) Token: 0x0600424F RID: 16975 RVA: 0x000B4F81 File Offset: 0x000B3181
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishTutorialScRsp> Parser
		{
			get
			{
				return FinishTutorialScRsp._parser;
			}
		}

		// Token: 0x170012E3 RID: 4835
		// (get) Token: 0x06004250 RID: 16976 RVA: 0x000B4F88 File Offset: 0x000B3188
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishTutorialScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170012E4 RID: 4836
		// (get) Token: 0x06004251 RID: 16977 RVA: 0x000B4F9A File Offset: 0x000B319A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishTutorialScRsp.Descriptor;
			}
		}

		// Token: 0x06004252 RID: 16978 RVA: 0x000B4FA1 File Offset: 0x000B31A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishTutorialScRsp()
		{
		}

		// Token: 0x06004253 RID: 16979 RVA: 0x000B4FAC File Offset: 0x000B31AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishTutorialScRsp(FinishTutorialScRsp other) : this()
		{
			this.tutorial_ = ((other.tutorial_ != null) ? other.tutorial_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004254 RID: 16980 RVA: 0x000B4FF8 File Offset: 0x000B31F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishTutorialScRsp Clone()
		{
			return new FinishTutorialScRsp(this);
		}

		// Token: 0x170012E5 RID: 4837
		// (get) Token: 0x06004255 RID: 16981 RVA: 0x000B5000 File Offset: 0x000B3200
		// (set) Token: 0x06004256 RID: 16982 RVA: 0x000B5008 File Offset: 0x000B3208
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public Tutorial Tutorial
		{
			get
			{
				return this.tutorial_;
			}
			set
			{
				this.tutorial_ = value;
			}
		}

		// Token: 0x170012E6 RID: 4838
		// (get) Token: 0x06004257 RID: 16983 RVA: 0x000B5011 File Offset: 0x000B3211
		// (set) Token: 0x06004258 RID: 16984 RVA: 0x000B5019 File Offset: 0x000B3219
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06004259 RID: 16985 RVA: 0x000B5022 File Offset: 0x000B3222
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishTutorialScRsp);
		}

		// Token: 0x0600425A RID: 16986 RVA: 0x000B5030 File Offset: 0x000B3230
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishTutorialScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.Tutorial, other.Tutorial) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600425B RID: 16987 RVA: 0x000B5080 File Offset: 0x000B3280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.tutorial_ != null)
			{
				num ^= this.Tutorial.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600425C RID: 16988 RVA: 0x000B50D5 File Offset: 0x000B32D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600425D RID: 16989 RVA: 0x000B50DD File Offset: 0x000B32DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600425E RID: 16990 RVA: 0x000B50E8 File Offset: 0x000B32E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.tutorial_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.Tutorial);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600425F RID: 16991 RVA: 0x000B5144 File Offset: 0x000B3344
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.tutorial_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Tutorial);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004260 RID: 16992 RVA: 0x000B519C File Offset: 0x000B339C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishTutorialScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.tutorial_ != null)
			{
				if (this.tutorial_ == null)
				{
					this.Tutorial = new Tutorial();
				}
				this.Tutorial.MergeFrom(other.Tutorial);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004261 RID: 16993 RVA: 0x000B5204 File Offset: 0x000B3404
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004262 RID: 16994 RVA: 0x000B5210 File Offset: 0x000B3410
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.tutorial_ == null)
					{
						this.Tutorial = new Tutorial();
					}
					input.ReadMessage(this.Tutorial);
				}
			}
		}

		// Token: 0x04001A04 RID: 6660
		private static readonly MessageParser<FinishTutorialScRsp> _parser = new MessageParser<FinishTutorialScRsp>(() => new FinishTutorialScRsp());

		// Token: 0x04001A05 RID: 6661
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001A06 RID: 6662
		public const int TutorialFieldNumber = 1;

		// Token: 0x04001A07 RID: 6663
		private Tutorial tutorial_;

		// Token: 0x04001A08 RID: 6664
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04001A09 RID: 6665
		private uint retcode_;
	}
}
